package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 服务日志 与服务1对1关联st_plan_details对象 st_service_log
 * 
 * @author shihx
 * @date 2020-03-09
 */
@ApiModel(value="ServiceLogVo",description="服务日志新增实体") // 用来描述封装的参数对象与返回的参数对象
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ServiceLogVo extends BaseEntity
{


    /** st_plan_details表主键 */
    @ApiModelProperty(value = "st_plan_details表主键",name="stPlanId",required = true,dataType="Long",example="st_plan_details表主键")
    private String planIds;

    /** 服务派单主键ID（st_service_notice表主键） */
    @ApiModelProperty(value = "服务派单主键ID",name="serviceNoticeId",required = true,dataType="Long",example="服务派单主键ID")
    private String serviceNoticeIds;

    /** 服务通知号（服务通知主键） */
    @ApiModelProperty(value = "服务通知号",name="serviceNo",required = true,dataType="String",example="服务通知号")
    private String serviceNos;

    /** 工程师FSE的主键ID */
    @ApiModelProperty(value = "工程师FSE的主键ID",name="fseId",required = true,dataType="String",example="工程师FSE的主键ID")
    private String fseId;

    /** 工程师姓名 */
    @ApiModelProperty(value = "工程师姓名",name="fseName",required = true,dataType="String",example="工程师姓名")
    private String fseName;

    /** 接受任务时间 */
    @ApiModelProperty(value = "接受任务时间",name="acceptTime",required = true,dataType="String",example="接受任务时间")
    private String acceptTime;

    /** 到达现场时间 */
    @ApiModelProperty(value = "到达现场时间",name="arriveTime",required = true,dataType="String",example="到达现场时间")
    private String arriveTime;

    /** 工作开始时间 */
    @ApiModelProperty(value = "工作开始时间",name="startTime",required = true,dataType="String",example="工作开始时间")
    private String startTime;

    /** 工作结束时间 */
    @ApiModelProperty(value = "工作结束时间",name="endTime",required = true,dataType="String",example="工作结束时间")
    private String endTime;

    /** 工作小时数 */
    @ApiModelProperty(value = "工作小时数",name="workHour",required = true,dataType="String",example="工作小时数")
    private String workHour;

    /** 旅途小时数 */
    @ApiModelProperty(value = "旅途小时数",name="journeyHour",required = true,dataType="String",example="旅途小时数")
    private String journeyHour;

    /** 工作内容 */
    @ApiModelProperty(value = "工作内容",name="workContent",required = true,dataType="String",example="工作内容")
    private String workContent;

    @ApiModelProperty(value = "经度",name="longitude",required = true,dataType="String",example="经度")
    private String longitude;

    @ApiModelProperty(value = "纬度",name="latitude",required = true,dataType="String",example="纬度")
    private String latitude;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "出发时间",name="departureTime",required = true,dataType="String",example="出发时间")
    private Date departureTime;

    @ApiModelProperty(value = "填写日志次数",name="flag",required = true,dataType="int",example="填写日志次数")
    private int flag;

    @ApiModelProperty(value = "是否拆分日志",name="splitFlag",required = true,dataType="String",example="0")
    private String splitFlag;

    public String getPlanIds() {
        return planIds;
    }

    public void setPlanIds(String planIds) {
        this.planIds = planIds;
    }

    public String getServiceNoticeIds() {
        return serviceNoticeIds;
    }

    public void setServiceNoticeIds(String serviceNoticeIds) {
        this.serviceNoticeIds = serviceNoticeIds;
    }

    public String getServiceNos() {
        return serviceNos;
    }

    public void setServiceNos(String serviceNos) {
        this.serviceNos = serviceNos;
    }

    public String getFseId() {
        return fseId;
    }

    public void setFseId(String fseId) {
        this.fseId = fseId;
    }

    public String getFseName() {
        return fseName;
    }

    public void setFseName(String fseName) {
        this.fseName = fseName;
    }

    public String getAcceptTime() {
        return acceptTime;
    }

    public void setAcceptTime(String acceptTime) {
        this.acceptTime = acceptTime;
    }

    public String getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(String arriveTime) {
        this.arriveTime = arriveTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getWorkHour() {
        return workHour;
    }

    public void setWorkHour(String workHour) {
        this.workHour = workHour;
    }

    public String getJourneyHour() {
        return journeyHour;
    }

    public void setJourneyHour(String journeyHour) {
        this.journeyHour = journeyHour;
    }

    public String getWorkContent() {
        return workContent;
    }

    public void setWorkContent(String workContent) {
        this.workContent = workContent;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Date getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(Date departureTime) {
        this.departureTime = departureTime;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getSplitFlag() {
        return splitFlag;
    }

    public void setSplitFlag(String splitFlag) {
        this.splitFlag = splitFlag;
    }
}
